package com.linkhub.oms.admin.common.exception;

import com.linkhub.oms.common.exception.BizException;

/**
 * @Description: OrderExceptionFactory
 * @Author: echo
 * @Date: 2024/4/7 14:05
 * @Version: 1.0
 */
public class OrderExceptionFactory {

    public static BizException getInvalidOrderId() {
        return ExceptionFactory.getI18nBizException("validation.order.sysOrderIds.error");
    }


    public static BizException getOrderSplitBizError() {
        return ExceptionFactory.getI18nBizException("order.split.biz.status.error");
    }

    public static BizException getOrderSplitSkuError() {
        return ExceptionFactory.getI18nBizException("order.split.package.sku.count.error");
    }

    public static BizException getSplitOrderRestoreError() {
        return ExceptionFactory.getI18nBizException("order.restore.biz.error");
    }

}
